//
//  LBQRequestMobileLoginIndex.m
//  liBaQiang
//
//  Created by 奇林刘 on 2018/10/18.
//  Copyright © 2018年 liu. All rights reserved.
//

#import "LBQRequestMobileLoginIndex.h"

@implementation LBQRequestMobileLoginIndex

+ (NSString *)urlComponent {
    return @"/mobile/login/index";
}

+ (void)goRequestWithPassword:(nonnull NSString *)password
                       mobile:(nonnull NSString *)mobile
                   deviceType:(nonnull NSString *)deviceType
                      success:(Success)success
                      failure:(Failure)failure {
    
    NSMutableDictionary *parameters = [NSMutableDictionary dictionary];
    
    parameters[@"password"] = password;
    parameters[@"mobile"] = mobile;
    parameters[@"deviceType"] = deviceType;
    
    [self POSTWithParameters:parameters success:success failure:failure];
}

@end

